package com.yuanqi.java.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

// com.example.interfaces.dto.CreateSupplierRequest.java
@Data
public class CreateSupplierRequest {
    @NotBlank
    private String supplierCode;
    @NotBlank private String supplierName;
    private String contactName;
    private String phone;
    private String email;
    private String taxNo;
    private String address;
    private Integer paymentTermDays;
    @NotNull
    private Byte status; // 1/0
}